-- GENERATED SPELL FOR [Mugglefin] --


function spell0_10643(pUnit, Event) --@Volatile Infection,n/a--
pUnit:FullCastSpellOnTarget(3584,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_10643', 2000, 1)
end

function Sorts_10643(pUnit, Event)
local choix_sorts_10643 = math.random(0, 0)
if choix_sorts_10643 == 0 then
pUnit:RegisterEvent('spell0_10643', 1, 1)
end
end

function mob10643_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_10643', math.random(1500, 3000), 1)
end

function mob10643_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10643_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10643_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(10643, 1, 'mob10643_Action')
RegisterUnitEvent(10643, 2, 'mob10643_Leave')
RegisterUnitEvent(10643, 3, 'mob10643_Kill')
RegisterUnitEvent(10643, 4, 'mob10643_Die')
